package com.pangsir.bookstore.service.impl;

import com.pangsir.bookstore.dao.UserDao;
import com.pangsir.bookstore.pojo.User;
import com.pangsir.bookstore.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao;
    @Override
    public User login(String uname, String pwd) {
        return userDao.getUserByUnameAndPwd(uname,pwd);
    }
}
